//
//  ViewController.h
//  Bluetooth Tests
//
//  Created by Zack Brody on 7/13/13.
//  Copyright (c) 2013 Zack Brody. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <GameKit/GameKit.h>
#import "GameKit/GKSession.h"
#import "GameKit/GKPeerPickerController.h"
#import "Particle.h"

@interface ViewController : UIViewController <GKPeerPickerControllerDelegate, GKSessionDelegate>
{
    UIImage *image;
    UIImage *image2;
    NSTimer *timer;
    UITouch *touch;
    UITouch *touch2;
    NSMutableArray *particles;
    CGPoint point, previousPoint;
    
    NSMutableArray *touchesArray;
    NSUInteger nNumTouches;
    CGPoint ptTouch;
    
    
    GKSession *currentSession;
    IBOutlet UIButton *connect;
    IBOutlet UIButton *disconnect;
    UITapGestureRecognizer *hideKeyboard;
    
    NSString *dataString;
    
    IBOutlet UIButton *leftConnectButton;
    IBOutlet UIButton *rightConnectButton;
    
    int selectedButton;
    
    IBOutlet UILabel *headerLabel;
    
    float totalScreenHeight;
    float totalScreenWidth;
    
    BOOL selectionHasBeenChecked;
    
    int maxParticles;
}

@property (nonatomic, retain) GKSession *currentSession;
@property (nonatomic, retain) UIButton *connect;
@property (nonatomic, retain) UIButton *disconnect;

- (IBAction)btnConnectLeft:(id)sender;
- (IBAction)btnConnectRight:(id)sender;
- (IBAction)btnDisconnect:(id)sender;



@end
